import { createApp } from "vue";
import App from "@/App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "@/assets/css/base.less";
import "animate.css";
import router from "@router/index";
import { createPinia } from "pinia";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

console.log(import.meta.env.ENV_PROXY_TARGET);

createApp(App)
  .use(ElementPlus, {
    locale: zhCn,
  })
  .use(router)
  .use(pinia)
  .mount("#app");
